import vue from 'vue'
import Router from 'vue-router'

import Index from './components/Index/index'
import QueryTrips from './components/QueryTrips/queryTrips'
import BookPage from './components/BookPage/bookPage'

vue.use(Router)

export default new Router({
    routes:[
        {
            path:'/',
            name:'index',
            component:Index
        },
        {
          path: '/queryTrips',
          name: 'queryTrips',
          component: QueryTrips
        }, 
        {
          path: '/bookPage',
          name: 'bookPage',
          component: BookPage
        }
        
    ]
})
